import request from '@/utils/request'

// 查询影票订单信息列表
export function listTicketOrderInfo(query) {
  return request({
    url: '/order/ticketOrderInfo/list',
    method: 'get',
    params: query
  })
}

// 查询影票订单信息详细
export function getTicketOrderInfo(id) {
  return request({
    url: '/order/ticketOrderInfo/' + id,
    method: 'get'
  })
}

// 新增影票订单信息
export function addTicketOrderInfo(data) {
  return request({
    url: '/order/ticketOrderInfo',
    method: 'post',
    data: data
  })
}

// 修改影票订单信息
export function updateTicketOrderInfo(data) {
  return request({
    url: '/order/ticketOrderInfo',
    method: 'put',
    data: data
  })
}

// 删除影票订单信息
export function delTicketOrderInfo(id) {
  return request({
    url: '/order/ticketOrderInfo/' + id,
    method: 'delete'
  })
}

// 导出影票订单信息
export function exportTicketOrderInfo(query) {
  return request({
    url: '/order/ticketOrderInfo/export',
    method: 'get',
    params: query
  })
}
